package com.study;

public class Rectangle01 {
    public static void main(String[] args) {
        int[] rArr = {3,4};
        Graphics rectangle = new Graphics(rArr);
        rectangle.perimeter();
        System.out.println("这是一个周长为"+rectangle.perimeter()+"面积为"+ rectangle.area()+"的" + rectangle.getShape());


    }
}
